package cn.occgmat.service;

import cn.occgmat.entity.Admin;
import cn.occgmat.util.BaseResponse;

import javax.servlet.http.HttpSession;
import java.util.List;

/**
 * 服务层接口
 */
public interface AdminService {

    BaseResponse<?> findLogin(Admin admin, HttpSession session);

    BaseResponse<Admin> findAllLimit(int startPage, int limit);

    int adminUpdate(Admin admin);

    void logOut(HttpSession session);
}
